<%@ page language="java" contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> 
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<div class="content">
	<form class="form-horizontal" method="post" action="${ctx }/admin/user/save">
		<input type="hidden" name="id" value="${user.id}"/>
	
		<div class="control-group">
			<label class="control-label">用户名</label>
			<div class="controls">
				<input type="text"  name="username" value="${user.username }">
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">原密码</label>
			<div class="controls">
				<input type="password"  name="password" value="${user.password }">
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">新密码</label>
			<div class="controls">
				<input type="password"  name="password" value="${user.password }">
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">重复新密码</label>
			<div class="controls">
				<input type="password"  name="repeatPassword" value="${user.repeatPassword }">
			</div>
		</div>
		<div class="control-group">
			<label class="control-label">昵称</label>
			<div class="controls">
				<input type="text"  name="name" value="${user.name }">
			</div>
		</div>
		<div class="control-group">
			<div class="controls">
				<input type="submit" class="btn" value="保存">
			</div>
		</div>
	</form>
</div>
